/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.wordpress.fareastdan.FEDTradeManagerIDE.FEDConnectionManager.Actions;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import org.openide.awt.ActionID;
import org.openide.awt.ActionReference;
import org.openide.awt.ActionReferences;
import org.openide.awt.ActionRegistration;
import org.openide.util.NbBundle.Messages;

@ActionID
        (
        category = "File",
        id = "com.wordpress.fareastdan.FEDTradeManagerIDE.FEDConnectionManager.Actions.FEDLoadServerListAction"
        )
@ActionRegistration
                  (
                  iconBase = "com/wordpress/fareastdan/FEDTradeManagerIDE/FEDConnectionManager/GUI/icons/loadserverlisticon.png",
                  displayName = "#CTL_FEDLoadServerList"
                   )
@ActionReferences
                ({
                @ActionReference(path = "Menu/File", position = 1300, separatorAfter = 1350),
                @ActionReference(path = "Toolbars/File", position = 300)
                })

@Messages("CTL_FEDLoadServerList=Load Server List")

public final class FEDLoadServerListAction implements ActionListener
{

    @Override
    public void actionPerformed(ActionEvent e)
    {
        // Bring up a dialog looking for a server list file
            // If one is opened then read the file and pass it to the server list component
    }
}
